package com.example.three.Service.ShopGoodComm;

import com.example.three.DO.SysOfficeProdComm;
import com.example.three.Mapper.ShopGoodComm.GoodCommMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class GoodCommServiceImpl implements GoodComm{
    @Resource
    private GoodCommMapper goodCommMapper;

    @Override
    public List<SysOfficeProdComm> commfindBy() {

        return goodCommMapper.commfindBy();
    }
    @Override
    public List<SysOfficeProdComm> commfindBygood(){
        return goodCommMapper.commfindBygood();
    }
    @Override
    public List<SysOfficeProdComm> commfindBybad(){
        return goodCommMapper.commfindBybad();
    }

    @Override
    public List<SysOfficeProdComm> commfindBy1(String shopname) {
        return goodCommMapper.commfindBy1(shopname);
    }

    @Override
    public List<SysOfficeProdComm> commfindBygood1(String shopname){
        return goodCommMapper.commfindBygood1(shopname);
    }
    @Override
    public List<SysOfficeProdComm> commfindBybad1(String shopname){
        return goodCommMapper.commfindBybad1(shopname);
    }

}
